package com.ktgj.pay.domain;

import java.io.Serializable;
import java.util.List;

public class MoFPKJRequest implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 流水号 --发票请求流水号（订单号），订单唯一标识
	 */
	private String swno;
	/**
	 * 组织代码 --组织代码
	 */
	private String sellerTaxNo;
	/**
	 * 发票抬头 --购方名称
	 */
	private String custName;
	/**
	 * 购方税号 
	 */
	private String custTaxNo;
	/**
	 * 购方地址电话
	 */
	private String custAddrPhone;
	/**
	 * 购方银行账号
	 */
	private String custBankAccount;
	/**
	 * 购方手机
	 */
	private String custTelephone;
	/**
	 * 购方邮箱
	 */
	private String custEmail;
	/**
	 * 发票备注
	 */
	private String invMemo;
	/**
	 * 发票类型   --0：专用发票，2：普通发票，51：电子发票，41：卷式发票（目前版本只支持51电子发票开具）
	 */
	private String invType;
	/**
	 * 订单日期  --格式 yyyy-MM-dd HH:mm:ss 例如：2019-02-11 13:59:59，传空则默认为系统当前时间
	 */
	private String orderDate;
	/**
	 * 订单类型  --1：蓝票，2：红票
	 */
	private String orderType;
	/**
	 * 开票人
	 */
	private String drawer;
	/**
	 * 复核人
	 */
	private String reviewer;
	/**
	 * 收款人
	 */
	private String payee;
	/**
	 * 原发票代码  --红字发票必填
	 */
	private String origInvcode;
	/**
	 * 原发票号码  --红字发票必填
	 */
	private String origInvno;
	/**
	 * 红字通知表编号  --红字专用发票必填
	 */
	private String redCode;
	/**
	 * 销方地址电话
	 */
	private String sellerAddrPhone;
	/**
	 * 销方银行账号
	 */
	private String sellerBankAccount;
	/**
	 * 开票机号  kpType为0且invType不为51时必填
	 */
	private String machineCode;
	/**
	 * 成品油标识  0：普通发票，1：成品油发票 （暂不支持成品油发票开具）
	 */
	private String oilIdentification;
	/**
	 * 开票类型  0：线上开具，1：线下开具
	 */
	private String kpType;
	/**
	 * 商品集合
	 */
	private List<MoFPKJItem> items;
	public String getSwno() {
		return swno;
	}
	public void setSwno(String swno) {
		this.swno = swno;
	}
	public String getSellerTaxNo() {
		return sellerTaxNo;
	}
	public void setSellerTaxNo(String sellerTaxNo) {
		this.sellerTaxNo = sellerTaxNo;
	}
	public String getCustName() {
		return custName;
	}
	public void setCustName(String custName) {
		this.custName = custName;
	}
	public String getCustTaxNo() {
		return custTaxNo;
	}
	public void setCustTaxNo(String custTaxNo) {
		this.custTaxNo = custTaxNo;
	}
	public String getCustAddrPhone() {
		return custAddrPhone;
	}
	public void setCustAddrPhone(String custAddrPhone) {
		this.custAddrPhone = custAddrPhone;
	}
	public String getCustBankAccount() {
		return custBankAccount;
	}
	public void setCustBankAccount(String custBankAccount) {
		this.custBankAccount = custBankAccount;
	}
	public String getCustTelephone() {
		return custTelephone;
	}
	public void setCustTelephone(String custTelephone) {
		this.custTelephone = custTelephone;
	}
	public String getCustEmail() {
		return custEmail;
	}
	public void setCustEmail(String custEmail) {
		this.custEmail = custEmail;
	}
	public String getInvMemo() {
		return invMemo;
	}
	public void setInvMemo(String invMemo) {
		this.invMemo = invMemo;
	}
	public String getInvType() {
		return invType;
	}
	public void setInvType(String invType) {
		this.invType = invType;
	}
	public String getOrderDate() {
		return orderDate;
	}
	public void setOrderDate(String orderDate) {
		this.orderDate = orderDate;
	}
	public String getOrderType() {
		return orderType;
	}
	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}
	public String getDrawer() {
		return drawer;
	}
	public void setDrawer(String drawer) {
		this.drawer = drawer;
	}
	public String getReviewer() {
		return reviewer;
	}
	public void setReviewer(String reviewer) {
		this.reviewer = reviewer;
	}
	public String getPayee() {
		return payee;
	}
	public void setPayee(String payee) {
		this.payee = payee;
	}
	public String getOrigInvcode() {
		return origInvcode;
	}
	public void setOrigInvcode(String origInvcode) {
		this.origInvcode = origInvcode;
	}
	public String getOrigInvno() {
		return origInvno;
	}
	public void setOrigInvno(String origInvno) {
		this.origInvno = origInvno;
	}
	public String getRedCode() {
		return redCode;
	}
	public void setRedCode(String redCode) {
		this.redCode = redCode;
	}
	public String getSellerAddrPhone() {
		return sellerAddrPhone;
	}
	public void setSellerAddrPhone(String sellerAddrPhone) {
		this.sellerAddrPhone = sellerAddrPhone;
	}
	public String getSellerBankAccount() {
		return sellerBankAccount;
	}
	public void setSellerBankAccount(String sellerBankAccount) {
		this.sellerBankAccount = sellerBankAccount;
	}
	public String getMachineCode() {
		return machineCode;
	}
	public void setMachineCode(String machineCode) {
		this.machineCode = machineCode;
	}
	public String getOilIdentification() {
		return oilIdentification;
	}
	public void setOilIdentification(String oilIdentification) {
		this.oilIdentification = oilIdentification;
	}
	public String getKpType() {
		return kpType;
	}
	public void setKpType(String kpType) {
		this.kpType = kpType;
	}
	public List<MoFPKJItem> getItems() {
		return items;
	}
	public void setItems(List<MoFPKJItem> items) {
		this.items = items;
	}
	public MoFPKJRequest() {
		super();
	}
	public MoFPKJRequest(String swno, String sellerTaxNo, String custName, String custTaxNo, String custAddrPhone,
                         String custBankAccount, String custTelephone, String custEmail, String invMemo, String invType,
                         String orderDate, String orderType, String drawer, String reviewer, String payee, String origInvcode,
                         String origInvno, String redCode, String sellerAddrPhone, String sellerBankAccount, String machineCode,
                         String oilIdentification, String kpType, List<MoFPKJItem> items) {
		super();
		this.swno = swno;
		this.sellerTaxNo = sellerTaxNo;
		this.custName = custName;
		this.custTaxNo = custTaxNo;
		this.custAddrPhone = custAddrPhone;
		this.custBankAccount = custBankAccount;
		this.custTelephone = custTelephone;
		this.custEmail = custEmail;
		this.invMemo = invMemo;
		this.invType = invType;
		this.orderDate = orderDate;
		this.orderType = orderType;
		this.drawer = drawer;
		this.reviewer = reviewer;
		this.payee = payee;
		this.origInvcode = origInvcode;
		this.origInvno = origInvno;
		this.redCode = redCode;
		this.sellerAddrPhone = sellerAddrPhone;
		this.sellerBankAccount = sellerBankAccount;
		this.machineCode = machineCode;
		this.oilIdentification = oilIdentification;
		this.kpType = kpType;
		this.items = items;
	}
	@Override
	public String toString() {
		return "MoFPKJRequest [swno=" + swno + ", sellerTaxNo=" + sellerTaxNo + ", custName=" + custName
				+ ", custTaxNo=" + custTaxNo + ", custAddrPhone=" + custAddrPhone + ", custBankAccount="
				+ custBankAccount + ", custTelephone=" + custTelephone + ", custEmail=" + custEmail + ", invMemo="
				+ invMemo + ", invType=" + invType + ", orderDate=" + orderDate + ", orderType=" + orderType
				+ ", drawer=" + drawer + ", reviewer=" + reviewer + ", payee=" + payee + ", origInvcode=" + origInvcode
				+ ", origInvno=" + origInvno + ", redCode=" + redCode + ", sellerAddrPhone=" + sellerAddrPhone
				+ ", sellerBankAccount=" + sellerBankAccount + ", machineCode=" + machineCode + ", oilIdentification="
				+ oilIdentification + ", kpType=" + kpType + ", items=" + items + "]";
	}
	
	
	
	
	
	

}
